<template>
  <div id="login">
    <div class="login-container">
      <i class="avator"></i>
      <el-form class="login-form">
        <el-form-item label="名称">
          <el-input></el-input>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="scss">
#login {
  height: 100vh;
  background: #409eff;
}
.login-container {
  width: 700px;
  height: 400px;
  background: #fff;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  .avator {
    display: inline-block;
    width: 150px;
    height: 150px;
    background: url("../assets/img/xxy.jpg") no-repeat;
    background-size: 100% 100%;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }
  .login-form {
    padding: 0 20px;
  }
}
</style>